package sctu.edu.java.year2016.team07.shihaocheng.day20160525.chapter7_2;

/**
 * Created by admin on 2016/5/25.
 */
import java.util.Scanner;
public class Client {
    public static void main(String[] args) {



        Scanner scan = new Scanner(System.in);

        System.out.println("please enter the length:");
        double a = scan.nextDouble();

        System.out.println("please enter the length:");
        double b = scan.nextDouble();

        JuXing juxing = new JuXing(a,b);

        juxing.Square(a,b);
        System.out.println("the square is :" +juxing.Square(a,b));

    }
}
